<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<div id="create">
				
	<h1>Maak enqu&ecirc;te aan</h1>
	<p>Vul de volgende velden in om een enquete aan te maken</p>

	<div id="innercreate">
		<label for="title">Titel
			<span class="small">Vul de titel in</span>
		</label>
		<input type="text" id="title" name="title" value="${survey.title}" />
		
	
		<label for="description">Beschrijving
			<span class="small">Vul een beschrijving in</span>
		</label>
		<textarea form="createform" name="description">${survey.description}</textarea>
	
		<label for="language">Taal
			<span class="small">Selecteer de taal</span>
		</label>
		<select name="language">
			<option  value="nl" ${survey.language == 'NL' ? 'selected' : ''}>Nederlands</option>
			<option value="en" ${survey.language == 'EN' ? 'selected' : ''}>Engels</option>
		</select>
	
		<label for="from">Van
			<span class="small">dd/mm/jjjj hh:mm</span>
		</label>
		<input type="text" id="from" name="from" value="${survey.startdateString}"/>
	
		<label for="to">Tot
			<span class="small">dd/mm/jjjj hh:mm</span>
		</label>
		<input type="text" id="to" name="to" value="${survey.enddateString}" />
	</div>
</div>